package com.mjh.service;

import com.github.pagehelper.PageInfo;
import com.mjh.bean.User;
import com.mjh.model.SecurityUser;
import com.mjh.vo.PieData;
import com.mjh.vo.UserDetailInfoVo;
import com.mjh.vo.UserVo;

import java.util.List;

public interface UserService {
    User queryById(Integer id);

    UserDetailInfoVo queryUserDetaillnfoVoById(Integer loginUserId);

    Boolean updataPwd(User user);

    PageInfo<User> queryUserListPage(Integer current, Integer size);

    Boolean modifyUser(User user);

    Boolean saveUser(User user);

    void modifyTime(SecurityUser user);

    Boolean removeUserById(Integer id);

    Boolean removeUserBatchByIds(List<Integer> ids);

    List<User> queryAllUsers();

    List<UserVo> queryAllUserVos();

    UserVo queryUserVoRoleById(Integer id);

    List<PieData> queryUserAct();
}

